package pers.cj.pdos.service;

import pers.cj.pdos.entity.Goods;
import pers.cj.pdos.entity.PacketGoods;
import com.baomidou.mybatisplus.extension.service.IService;
import pers.cj.pdos.entity.SaleGoods;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author chenj
 * @since 2019-11-04
 */
public interface IPacketGoodsService extends IService<PacketGoods> {
    Map<String, Long> checkByGoodsList(List<Goods> goodsList);

    /**
     * 从list中取得套餐商品的列表，其中list还有packetid
     * @param list list中还有packetId
     * @return
     */
    List<PacketGoods> listByListPacket(List list);
}
